package com.bw.module_store.adapter

import com.bw.module_store.R
import com.bw.module_store.entity.StoreResult
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
/**
 * 智慧园区-01-商家推荐-v1.1-吴熙-20250511
 */
class StoreAdapter:BaseQuickAdapter<StoreResult,BaseViewHolder>(R.layout.item_store) {
    override fun convert(holder: BaseViewHolder, item: StoreResult) {
        holder.setText(R.id.tv_store_name,item.name)
        holder.setText(R.id.tv_store_type,"行业类型：${item.industryType}")
        holder.setText(R.id.tv_store_stockName,"行业覆盖：${item.stockName}")
        holder.setText(R.id.tv_store_address,"企业所属地区：${item.address}")
    }
}